package com.example.demo.bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "t_file")
public class FileBean extends BaseBean {

    @Column(name = "filename", length = 200)
    private String filename;

    @Column(name = "origname", length = 200)
    private String origname;

    @Column(name = "url", length = 200)
    private String url;

    @Column(name = "endtime", length = 30)
    private String endtime;//截止时间

    @Column(name = "timetable_id", length = 50)
    private String timetable_id;//课程Id
}